Most Kotlin environments will support non-nested sealed class subclasses, as is shown here. Some online Kotlin tools, though, will have a problem with this, but that is a limitation of the tool.
                    You can learn more about this in:
                    
                
            
        
            Tags: